package com.dgy.project.mapper;

import java.util.List;
import com.dgy.project.domain.ProjectApplyFile;
import com.dgy.project.pojo.vo.ProjectApplyListVO;

/**
 * 项目节点附件Mapper接口
 *
 * @author ccc
 * @date 2025-03-26
 */
public interface ProjectApplyFileMapper
{
    /**
     * 查询项目节点附件
     *
     * @param fileId 项目节点附件主键
     * @return 项目节点附件
     */
    public ProjectApplyFile selectProjectApplyFileById(Long fileId);

    /**
     * 查询项目节点附件列表
     *
     * @param projectApplyFile 项目节点附件
     * @return 项目节点附件集合
     */
    public List<ProjectApplyFile> selectProjectApplyFileList(ProjectApplyFile projectApplyFile);

    /**
     * 新增项目节点附件
     *
     * @param projectApplyFile 项目节点附件
     * @return 结果
     */
    public int insertProjectApplyFile(ProjectApplyFile projectApplyFile);

    /**
     * 新增项目节点附件
     *
     * @param projectApplyFileList 项目节点附件
     * @return 结果
     */
    public int insertProjectApplyFileBatch(List<ProjectApplyFile> projectApplyFileList);

    /**
     * 修改项目节点附件
     *
     * @param projectApplyFile 项目节点附件
     * @return 结果
     */
    public int updateProjectApplyFile(ProjectApplyFile projectApplyFile);

    /**
     * 删除项目节点附件
     *
     * @param fileId 项目节点附件主键
     * @return 结果
     */
    public int deleteProjectApplyFileById(Long fileId);

    /**
     * 批量删除项目节点附件
     *
     * @param fileIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProjectApplyFileByIds(Long[] fileIds);

    /**
     * 批量删除项目节点附件
     *
     * @param applyId
     * @return 结果
     */
    public int deleteProjectApplyFileByApplyId(Long applyId);

}
